package com.yao.service;

import com.yao.entity.VirtualEntity;

import java.util.List;

public interface VirtualService {
    //全局查找
    List<VirtualEntity> findAll();

    //全局查找分页
    List<VirtualEntity> findPage(int page,int pageSize);

    //模糊查询
    List<VirtualEntity> findBySomething(String virtual_ip,String app,String ip,
            String admin,String core,String ram,String disk,String systems,String zabbix);

    //模糊查询分页
    List<VirtualEntity> findByPage(String virtual_ip,String app,String ip,
            String admin,String core,String ram,String disk,String systems,String zabbix,int page,int pageSize);

    //删除
    void delete(int id);

    //修改
    void update(int id,String virtual_ip,String app,String virtual_name,String ip,String admin,
            String core,String ram,String disk,String systems,String zabbix,String remark);

    //添加
    void add(String virtual_ip,String app,String virtual_name,String ip,String admin,
            String core,String ram,String disk,String systems,String zabbix,String remark);
}
